import request from '@/plugins/axios/request';
const baseURL = process.env.VUE_APP_BASE_API;

//[文档管理]科研人员-列表
export function documentlList(data) {
    return request({
        url:`${baseURL}/tech-project-phase/common-list`,
        method: 'post',
        data: data
    })
}
//[代码接口]下拉框
export function getOptions(params) {
    return request({
        url: `${baseURL}/tech-dict/select`,
        method: 'get',
        params
    })
}
//[文档管理]下载
export function downloadFile(params) {
    return request({
        url: `${baseURL}/tech-project-phase/download`,
        method: 'get',
        params,
    })
}
//[文档管理]批量下载
export function downloadFiles(params) {
    return request({
        url: `${baseURL}/tech-project-phase/batchDownload`,
        method: 'get',
        params,
    })
}
//[文档管理]提交
export function submitProjectPhase(params) {
    return request({
        url: `${baseURL}/tech-project-phase/submit`,
        method: 'get',
        params,
    })
}
